<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="false"%>
<%@ include file="/WEB-INF/base/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test Page</title> 
<link rel="stylesheet" charset="utf-8" href="${ BOOTSTRAP }/bootstrap-3.3.5-dist/css/bootstrap.css" media="screen" >

<link type="text/css" href="${ BOOTSTRAP_DATETIMEPICKER }/build/css/bootstrap-datetimepicker.min.css" rel="stylesheet"> 

<script type="text/javascript" charset="utf-8" src="${ JS }/jquery-1.11.3.js"></script> 

<script type="text/javascript" charset="utf-8" src="${ BOOTSTRAP }/bootstrap-3.3.5-dist/js/bootstrap.js"></script>

<script type="text/javascript" charset="utf-8" src="${ MOMENT }/moment.js"></script>  

<script charset="utf-8" type="text/javascript" src="${BOOTSTRAP_DATETIMEPICKER }/build/js/bootstrap-datetimepicker.min.js"></script>

<script type="text/javascript">
    $(function () {
        $('#datetimepicker6').datetimepicker({
        	format:"YYYY/MM/DD HH:mm", 
            showTodayButton:true,
            showClear:true,
            showClose:true
        });
        $('#datetimepicker7').datetimepicker({
            useCurrent: true, //Important! See issue #1075
            format:"YYYY/MM/DD HH:mm",
            defaultDate: moment("2015/10/20 15:55", "YYYY/MM/DD HH:mm"),
            showTodayButton:true,
            showClear:true,
            showClose:true
            
        });
        $("#datetimepicker6").on("dp.change", function (e) {
            $('#datetimepicker7').data("DateTimePicker").minDate(e.date);
        });
        $("#datetimepicker7").on("dp.change", function (e) {
            $('#datetimepicker6').data("DateTimePicker").maxDate(e.date);
        });
    });
</script>
</head>
<body>
<h1>Hello </h1>
<div class="container">
    <div class='col-md-5'>
        <div class="form-group">
            <div class='input-group date' id='datetimepicker6'>
                <input type='text' class="form-control" />
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div>
    </div>
    <div class='col-md-5'>
        <div class="form-group">
            <div class='input-group date' id='datetimepicker7'>
                <input type='text' class="form-control" />
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div>
    </div>
</div>

</body>
</html>